<template>
	<!-- 密码提示框 -->
	<view class="setpwd_pop">
		<view class="pwd_info">
			请先设置支付密码
		</view>
		<view class="pwd_btns">
			<button type="default" class="opt_btn cancle_btn" @click="closeSetpwdPop">取消</button>
			<button type="default" class="opt_btn set_btn" @click="goSetPwd">设置密码</button>
		</view>
	</view>
</template>

<script>
	export default {
		name: "pwdinfo",
		props: {
		},
		data() {
			return {

			}
		},
		methods: {
			closeSetpwdPop() {
				this.$emit("closeSetpwdPop");
			},
			// 设置支付密码
			goSetPwd() {
				uni.navigateTo({
					url: '/pagesA/my/userinfo/editPwd'
				})
			},
		},
	}
</script>

<style lang="scss" scoped>
	@import "../my/my.scss";

	.setpwd_pop {
		width: 620rpx;
		background: #FFFFFF;
		border-radius: 20rpx;
		color: #070707;
		font-size: 32rpx;
		overflow: hidden;

		.pwd_info {
			line-height: 194rpx;
			font-size: 36rpx;
			text-align: center;
			font-weight: 500;
		}

		.pwd_btns {
			@include flexLayout(center, center);

			.opt_btn {
				width: 50%;
				height: 126rpx;
				line-height: 126rpx;
				background-color: #FFFFFF;
				font-size: 32rpx;
				border-radius: 0;

			}

			.opt_btn::after {
				border-color: transparent;
			}

			.set_btn {
				background: #F54642;
				color: #FFFFFF;
			}

			.cancle_btn {
				border-top: 2rpx solid #DDDDDD;
			}
		}
	}
</style>
